/**
 * Created with JetBrains WebStorm.
 * User: Eric
 * Date: 16/02/13
 * Time: 17:10
 * To change this template use File | Settings | File Templates.
 */


var mysql  = require('mysql');

var connection = function (){
    return mysql.createConnection({
                host     : 'localhost',
                user     : 'root',
                database : 'farm'/*,
                password : root */

})};

exports.connection = connection;